package org.bloodnoteii.cloudconsumer.Hello.Consumer;

import com.alibaba.fastjson.JSONObject;
import org.bloodnoteii.cloudconsumer.Hello.services.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HelloConsumer {

    @Autowired
    private HelloService helloService;

    public JSONObject helloConsumer(Integer id) {
        return helloService.helloConsumer(id);
    }
}
